<%@include file="header.jsp"%>
<c:set var="t" value="true" />
<table class="table table-striped">
	<tr>
		<th>#</th>
		<th><fmt:message key="label.priority.priorityName"></fmt:message></th>		
		<th>Action</th>
	</tr>
	<c:forEach var="onePriority" items="${priorities}" varStatus="status">
		<tr>
			<td>${onePriority.priorityID}</td>
			<td>${onePriority.priorityName}</td>			
			<td>
				<c:url var="delurl" scope="page" value="/DeletePriority">
					<c:param name="priorityID" value="${onePriority.priorityID}" />
				</c:url>
				<a href="${delurl}"><fmt:message key="label.priority.delete" /></a>
			</td>
		</tr>
	</c:forEach>
</table>
<c:url var="detailurl" scope="page" value="/AddPriority.jsp">
	<c:param name="priorityID" value="" />
	<c:param name="priorityName" value="" />
	
</c:url>
<a class="btn btn-primary" href="${detailurl}"><fmt:message
		key="label.priority.add" /></a>
<%@include file="footer.jsp"%>